<% if @prev_message -%>
  [<%= link_to '前へ', portal_message_path(@prev_message) %>]
<% end -%>
<% if @next_message -%>
  [<%= link_to '次へ', portal_message_path(@next_message) %>]
<% end -%>
